package org.jeecg.modules.custom.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 客户设备表
 * @Author: jeecg-boot
 * @Date:   2022-08-19
 * @Version: V1.0
 */
@Data
@TableName("mt_custom_equip")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mt_custom_equip对象", description="客户设备表")
public class MtCustomEquip implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private String equipCode;
	/**设备*/
	@Excel(name = "设备", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "mt_equip")
    @ApiModelProperty(value = "设备")
    private String equipId;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private String euipCount;
	/**所属商户*/
    @Dict(dicCode = "id",dicText = "custorm_name",dictTable = "mt_custorm")
    @ApiModelProperty(value = "所属商户")
    private String customId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @Dict(dicCode = "equip_status")
    @ApiModelProperty(value = "状态")
    private String status;
	/**维修次数*/
	@Excel(name = "维修次数", width = 15)
    @ApiModelProperty(value = "维修次数")
    private Integer repairCount;
    /**质保期*/
    @Excel(name = "质保期", width = 15)
    @ApiModelProperty(value = "质保期")
    private java.lang.Integer qualityPeriod;
    /**安装日期*/
    @Excel(name = "安装日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "安装日期")
    private java.util.Date installDate;
    /**质保到期*/
    @Excel(name = "质保到期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "质保到期")
    private java.util.Date periodDate;
    /**负责服务商*/
    @Excel(name = "服务商", width = 15, dictTable = "mt_service_providers", dicText = "pro_name", dicCode = "id")
    @Dict(dictTable = "mt_service_providers", dicText = "pro_name", dicCode = "id")
    @ApiModelProperty(value = "负责服务商")
    private String providerId;
    /**负责服务站*/
    @Excel(name = "服务站", width = 15, dictTable = "mt_service_station", dicText = "station_name", dicCode = "id")
    @Dict(dictTable = "mt_service_station", dicText = "station_name", dicCode = "id")
    @ApiModelProperty(value = "负责服务站")
    private String stationId;
    /**设备图片*/
    @ApiModelProperty(value = "设备图片")
    private String imageUri;
}
